package cc.yugu.yhdw.webserver.persistence.hdw;

import cc.yugu.yhdw.common.domain.hdw.CabinetProperty;
import cc.yugu.yhdw.common.persistence.MasterMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
/**
 * 充电柜属性信息
 * 
 * @Date:Created in 2018/6/30 13:53
 * @Author:
 * @Modified By: zjn 2018/6/30 13:53
 */ 
public interface CabinetPropertyMapper extends MasterMapper {
    /**
    * 根据柜子id查询表hdw_cabinet_property
    * 
    * @Param: [cabinetId]
    * @Return: java.util.List<cc.yugu.yhdw.common.domain.hdw.CabinetProperty>
    * @Author By: zjn 2018/6/30  13:54
    */ 
    public List<CabinetProperty> findByCabinet(@Param("cabinetId") String cabinetId);
    /**
    * 插入
    * 
    * @Param: [property]
    * @Return: int
    * @Author By: zjn 2018/6/30  13:54
    */ 
    public int insert(CabinetProperty property);
    /**
    * 根据柜子id删除
    * 
    * @Param: [cabinetId]
    * @Return: int
    * @Author By: zjn 2018/6/30  13:54
    */ 
    public int deleteByCabinet(String cabinetId);
}
